home *** CD-ROM | disk | FTP | other *** search
- global GblackJack, GscreenObject
-
- on mouseUp
- if objectp(the PmyATM of GscreenObject) then
- if the PmyCredit of the PmyCoin of the PmyATM of GscreenObject > 0 then
- set GblackJack to new(script "blackjack")
- deal(GblackJack)
- numbers(GblackJack)
- else
- puppetSound(member "vo15.aiff" of castLib "sound")
- end if
- else
- puppetSound(member "vo15.aiff" of castLib "sound")
- end if
- end
-